package cn.jg.framework.auth.session;


public class ThreadLocalBase {
    private static final ThreadLocal<Integer> BASE_THREAD_LOCAL = new InheritableThreadLocal<>();

    public static void set(final Integer baseId) {
        BASE_THREAD_LOCAL.set(baseId);
    }

    public static Integer get() {
        return BASE_THREAD_LOCAL.get();
    }

    public static void remove() {
        BASE_THREAD_LOCAL.remove();
    }
}
